package com.zsz.springboot.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class UserController {

    @RequestMapping("/message")
    public String message(Model model){


        model.addAttribute("data","springboot集成thymeleaf模板引擎");

        return "message";

    }

}
